Skip to content

feat: ship Concierge V2 and editorial perfume hero - #5

Merged
Lingz450 merged 13 commits into
mainfrom
feat/concierge-v2
Jul 13, 2026
Merged

feat: ship Concierge V2 and editorial perfume hero#5
Lingz450 merged 13 commits into
mainfrom
feat/concierge-v2

Conversation

@Lingz450

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the fixed Concierge V1 fallback with a typed multi-turn perfume intelligence pipeline that separates general knowledge, live Fádé catalogue evidence, approved knowledge, reviews, and current web research.
  • Add real streaming adapters and bounded fallback for OpenAI, Anthropic, Gemini, and xAI, with safe citations, URL validation, model cost accounting, spend gates, durable production limits, and provider health telemetry.
  • Add owned conversation history, feedback, guest entitlement, catalogue revalidation, admin observability, and a responsive desktop/tablet/mobile concierge workspace.
  • Add an editorial homepage perfume slideshow with accessible controls, reduced-motion handling, swipe support, and curated imagery.
  • Deploy the additive Concierge V2 Prisma migration to the configured database.

Test Coverage

  • AI-assessed branch coverage: 60% (18/30 traced code paths), meeting the 60% minimum; 12 lower-priority integration/eval paths remain documented.
  • Tests: 46 to 47 test files (+1 provider coverage file during the ship gate).
  • Final Vitest result: 39 files, 305 tests passed.

Pre-Landing Review

  • Fixed a critical guest-ownership bug: the conversation creation API now returns the new HTTP-only identity cookie, so a guest can reopen and archive the conversation it just created.
  • No remaining SQL/data-safety, LLM trust-boundary, ownership, or frontend checklist blockers found.

Design Review

  • Lite source review found no blocking design issues.
  • Browser verification passed across desktop Chromium, tablet Chromium, mobile Chromium, and mobile WebKit, including 320px overflow, dark/light themes, and a desktop axe pass.

Plan Completion

  • 32 of 50 audited implementation items are complete.
  • 14 items are partial or intentionally deferred, including research caching/deduplication, guest-to-account transfer, expanded history controls, merchant knowledge management, richer response blocks/actions, and remaining admin runtime controls.
  • 4 items require follow-up preview/manual verification, including all-provider citation behavior, authenticated multi-session ownership, concurrent guest behavior, and deeper screen-reader/deployed-theme testing.
  • The migration and live configured-database smoke tests are complete. Two genuinely different educational questions streamed distinct answers, and a guest conversation was created, reopened, and archived successfully.

Verification Results

  • npm run typecheck
  • npm run lint
  • npm test (305 passed)
  • npm run build (64 generated routes)
  • npx prisma validate
  • npx prisma migrate deploy
  • npx prisma migrate status (schema up to date)
  • Concierge Playwright suite (13 passed, 3 intentional duplicate axe skips)
  • Live allowance/history endpoints, streaming answers, cookie ownership, reopen, and archive checks

Documentation

  • README.md: added Concierge V2 capabilities, provider and environment configuration, API routes, validation commands, and links to the dedicated documentation set.
  • docs/CONCIERGE_V2_AUDIT.md: corrected the audit date, branch/commit state, tracked test status, and pull-request status.

Documentation Debt

  • The editorial homepage slideshow has no dedicated reference or explanation document; existing hero handoffs describe the earlier Stage 1/orbit implementations. Track this as follow-up documentation debt.

Test plan

  • Unit and database integration tests pass.
  • Production build passes.
  • Responsive, theme, and accessibility browser checks pass.
  • Configured database migration and live Concierge V2 smoke checks pass.

Lingz450 and others added 5 commits July 12, 2026 01:16
… for prod)

Another session's in-progress rebuild of the AI concierge, committed to its own
branch so it is saved and shareable without touching production main.

Adds: /api/v2/concierge routes (chat, conversations, allowance, feedback),
lib/concierge orchestrator/router/tools/usage, multi-provider AI router with
OpenAI/Anthropic/Gemini/xAI adapters, web-search integration, admin concierge
status, and a rewritten concierge client that consumes the v2 endpoints. Edits
shared files (schema.prisma, env, feature-flags, error catalogue, integrations).

NOT READY FOR PRODUCTION:
- Ships an additive Prisma migration (prisma/migrations/20260711230000_concierge_v2)
  that MUST be applied to the target database first - the rewritten /concierge
  page calls the v2 routes, which query the new tables and will error until the
  migration runs.
- Per docs/CONCIERGE_V2_TODO.md, several validation items are incomplete
  (provider/fallback, ownership/entitlement, streaming tests) and preview
  deployment testing is still blocked.

Passes local typecheck, lint and concierge unit tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replace the homepage hero with a responsive, accessible editorial fragrance carousel and curated imagery.
Add real provider streaming, grounded catalogue policy, safe citations, durable limits, cost controls, ownership protection, observability, responsive UI updates, and comprehensive verification coverage.
Co-Authored-By: OpenAI Codex <noreply@openai.com>
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
9thluxe-store Ready Ready Preview, Comment Jul 13, 2026 10:59am

@Lingz450
Lingz450 merged commit ee4c251 into main Jul 13, 2026
3 checks passed
@Lingz450
Lingz450 deleted the feat/concierge-v2 branch July 13, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant